<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>医生主界面</title>
    <!-- 引入element-ui样式 -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
</head>
<body>
<div id="doctor">
    <h2>医生主界面导航</h2>
    <el-row>
        <el-col :span="5">
            <el-link :underline="false" href="http://hh33082533.zicp.vip/case.html" target="_blank" >更新、新增病例</el-link><p></p>
            <el-link :underline="false" href="http://hh33082533.zicp.vip/show-case.html" target="_blank" >病例查询</el-link><p></p>
            <el-link :underline="false" href="http://hh33082533.zicp.vip/show-case-changeInfo.html" target="_blank" >病例变动记录</el-link><p></p>
            <el-link :underline="false" href="http://hh33082533.zicp.vip/prescription.html" target="_blank" >处方系统</el-link><p></p>
            <el-link :underline="false" href="http://hh33082533.zicp.vip/project-check.html" target="_blank" >项目检查清单</el-link><p></p>
            <el-link :underline="false" href="http://hh33082533.zicp.vip/uploadInformed.html" target="_blank" >知情同意书</el-link><p></p>
        </el-col>

        <el-col :span="5">
            <el-link :underline="false" href="http://hh33082533.zicp.vip/medical.html" target="_blank" >基本信息查询</el-link><p></p>
            <el-link :underline="false" href="http://hh33082533.zicp.vip/charge.html" target="_blank" >付款</el-link><p></p>
            <el-link :underline="false" href="http://hh33082533.zicp.vip/act.html" target="_blank" >新增修改医嘱</el-link><p></p>
            <el-link :underline="false" href="http://hh33082533.zicp.vip/show-act.html" target="_blank" >查询医嘱</el-link><p></p>
        </el-col>

        <el-col :span="5">
            <el-link :underline="false" href="http://hh33082533.zicp.vip/virtual-call-patient.html" target="_blank" >医生叫号</el-link><p></p>
            <el-link :underline="false" href="http://hh33082533.zicp.vip/show-doctor-account.html" target="_blank" >显示各科室医生的工作量</el-link><p></p>
            <el-link :underline="false" href="http://hh33082533.zicp.vip/show-diagnose-schedule.html" target="_blank" >实时显示诊疗进度</el-link><p></p>
            <el-link :underline="false" href="http://hh33082533.zicp.vip/show-administrative-workload-account.html" target="_blank" >统计各科室工作量</el-link><p></p>
            <el-link :underline="false" target="_blank" @click="addAttendanceRecord" >新增今日出诊记录</el-link><p></p>
            <el-link :underline="false" href="http://hh33082533.zicp.vip/show-duty.html" target="_blank" >查看修改排班信息</el-link><p></p>
        </el-col>
    </el-row>
</div>


<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!-- 引入组件库 -->
<script src="https://unpkg.com/element-ui/lib/index.js"></script>

<script>
    var app = new Vue({
        el: "#doctor",
        data: {

        },
        methods: {
            addAttendanceRecord:function () {
                axios.post("medical/doctor/addAttendanceRecord").then(function (resp) {
                    console.log(resp);
                    if(resp.data.success){
                        alert("成功创建今日出诊记录")
                    }else{
                        alert(resp.data.message);
                    }
                })
            }
        },

    })
</script>
</body>
</html>
